#pragma once


#include "..\Platform.h"
#include "..\Event\EventWin.h"
#include "..\Event\EventNode.h"
#include "Render.h"

//<form action = "">
//	<input type = "button" value = "Hello world!">
//< / form>
class BUTTON :public NODE {
public:
	INT		m_ID;
	STYLE	m_Style;
	wstring	m_Value;
	BOOL	b_Pressed = FALSE;
	//Children
	vector<NODE *>	p_Children;
	RENDER *		p_Render;

	steady_clock::time_point Fixed;
	milliseconds Invertal = milliseconds(1000);
	steady_clock::time_point Now;
	BOOL	b_Test = TRUE;

	VOID			Value(wstring value) { m_Value = value; }

	virtual LRESULT Proc(EVENT & Event);

	virtual HRESULT	Paint(EVENT & Event);
};














